package org.polaris.authority.domain;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import org.polaris.basic.domain.BaseDomain;

import java.util.List;

@Data
@AllArgsConstructor
@NoArgsConstructor
public class Menu extends BaseDomain{
    private String name;
    private String url;
    private String icon;
    private Long parentId;

    private Menu parent;
    private List<Menu> children;

}
